//
//  ViewController.m
//  STag
//
//  Created by Shea on 2018/7/18.
//  Copyright © 2018年 None. All rights reserved.
//

#import "ViewController.h"
#import "STag.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    STag *stag = [[STag alloc] initWithFrame:CGRectMake(0, 200, self.view.frame.size.width, 400)];
    stag.tagArr = @[@"1",@"2312313", @"331231323123132312313",@"4312313",@"53123132312313231231323123132312313231231323123135312313231231323123132312313231231323123132312313",@"6312313"];
    stag.isMoreSelect = NO;
    [stag loadData];
    stag.frame = CGRectMake(0, 200, self.view.frame.size.width, [stag getViewTotalHeight]);
    [self.view addSubview:stag];
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
